package com.ssl.tensquare.base.config;

import com.ssl.tensquare.common.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * 描述：
 *
 * @author ssl
 * @create 2019/06/05 11:29
 */
@Component
public class BeanConfig {

    @Bean
    public IdWorker idWorker() {
        return new IdWorker(1, 1);
    }
}
